package com.hrt.manage.stock.dao;

import java.util.List;

import com.hrt.base.BaseDao;
import com.hrt.bean.StockDetail;
import com.hrt.bean.Stocks;

public interface StockDao extends BaseDao<Stocks> {

	public List<Stocks> getStockByType(Integer reType, Long proId);

	public List<Stocks> getStockByType(Integer reType, Long proId,
			Integer pageIndex, Integer pageSize);

	public List<Stocks> getProductByAction(Integer actStr, Integer pageIndex,
			Integer pageSize);

	public List<Stocks> getProductByReType(Integer retype, Integer pageIndex,
			Integer pageSize);

	public List<Stocks> getStockList(Integer retype, Integer action,
			Integer pageSize, Integer pageSize2);

	public Long totalCount();

	public Long totalCount(Integer reType);

	public Long saveStocks(Stocks stocks);

	public List<StockDetail> getDetialsByStockId(Long stockId);

	
	

}
